"""Added subscriptions to stats model

Revision ID: d4e902ba675e
Revises: 9aea7a999c19
Create Date: 2023-03-04 21:36:18.409365

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "d4e902ba675e"
down_revision = "9aea7a999c19"
branch_labels = None
depends_on = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "stats",
        sa.Column("subscriptions", sa.Integer(), server_default="0", nullable=True),
    )
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("stats", "subscriptions")
    # ### end Alembic commands ###
